ComponentOne Xamarin.Android
FilterAsync<T>(ICollectionView<T>,FilterExpression) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > FilterAsync Method : FilterAsync<T>(ICollectionView<T>,FilterExpression) Method
The collection view.
The filter expression applied to the data.
Filters the data using specified filter expression.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__20`1)> 
<ExtensionAttribute()> 
Public Overloads Shared Function FilterAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal filterExpression As FilterExpression _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim filterExpression As FilterExpression
Dim value As Task
 
value = ICollectionViewEx.FilterAsync(Of T)(collectionView, filterExpression)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__20`1)] 
[Extension()] 
public static Task FilterAsync<T>( 
   ICollectionView<T> collectionView, 
   FilterExpression filterExpression 
) 
where T: class

Parameters

collectionView
The collection view.
filterExpression
The filter expression applied to the data.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List